package com.bean;

import com.common.Constant;

public class BaseBean {
	private boolean result = false;
	private String error_code = Constant.RESULT_CODE_SUCCESS;
	private String error_description = "";
	private String result_message = "";

	public boolean isResult() {
		return result;
	}

	public void setResult(boolean result) {
		this.result = result;
	}

	public String getResult_message() {
		return result_message;
	}

	public void setResult_message(String result_message) {
		this.result_message = result_message;
	}

	public String getError_code() {
		return error_code;
	}

	public void setError_code(String error_code) {
		this.error_code = error_code;
	}

	public String getError_description() {
		return error_description;
	}

	public void setError_description(String error_description) {
		this.error_description = error_description;
	}

	public boolean isReturnTrue() {
		return error_code.equals(Constant.RESULT_CODE_SUCCESS);
	}
}
